package com.orivon.mob.hook;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

/**
 * Created by Eenie on 2016/3/22.
 */
public class PushReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Log.e("bmob", "客户端收到推送内容：" + intent.getStringExtra("msg"));
        Toast.makeText(context, intent.getStringExtra("msg"), Toast.LENGTH_SHORT).show();
    }
}
